fix wrong names
first impl of ordering