Fix problem with ordering in list of items.