Fixed sortListenersByDrawOrder comparison function