sort the consumer