sort custom partitions