refs #246: Fix using a function for sorting and ensure update on updateSafeSrc