[INV-414] Order search results

@clicktravel-craig Ready for review. thanks J
if(sortOrder == null) {
  throw new IllegalArgumentException("Sort order cannot be null");
}