default ordering should be determined from json, not hard coded in
javascript.