Added view DOM sorting