last order column is determining for primary keys ordering