Sort by custom alphabet
Bash+coreutils, 37 bytes

tr ,$2 \\na-z&lt;&lt;&lt;$1|sort|tr \\na-z ,$2


Output:

$ ./alphasort.sh home,oval,cat,egg,network,green bcdfghijklmnpqrstvwxyzaeiouy
cat,green,home,network,egg,oval, $