2008-02-16 13:18:14 +00:00
|
|
|
//
|
|
|
|
// NSNumber+CogSort.m
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Matthew Grinshpun on 16/02/08.
|
|
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "NSNumber+CogSort.h"
|
|
|
|
|
|
|
|
@implementation NSNumber (CogSort)
|
|
|
|
|
|
|
|
// Sometimes track numbers are CFNumbers
|
2022-02-07 05:49:27 +00:00
|
|
|
- (NSComparisonResult)compareTrackNumbers:(NSNumber *)aNumber {
|
|
|
|
return [self compare:aNumber];
|
2008-02-16 13:18:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|