Created attachment 1052353 [details] Screenshots - sorting FQDN and description Description of problem: When you sort VMs by host, items with value are always first. If you use uptime, in ascending items without value are first and in descending last. If you use FQDN or description, in ascending it's weird (see pictures), in descending items without value are last. Version-Release number of selected component (if applicable): 3.5.4 How reproducible: always Steps to Reproduce: 1. have installed RHEVM with some VMs 2. try sorting by fields suggested in description 3. Actual results: inconsistent sorting Expected results: consistent sorting Additional info:
currently marking on 'infra', may change based on response to needinfo in bug 1127727.
summary: """ When you sort VMs by host, items with value are always first. """ this behavior is by design per bug 962560. however, based on bug 1127727, comment #9, it seems like we want to disable this behavior and simply include nulls as part of the sort; so if sort is ascending, nulls should be first; if sort is descending - nulls should be last. this should be modified in the search mechanism.
Sorry, I didn't clarify, I've been told that the first case is desired one and is written there just for comparison.
Moran Please approve change described by Einav in comment 2
Verified on ovirt-engine-3.6.0-0.0.master.20150727175355.git0d51373.el6.noarch