order statement list properly