An organised crime gang who filmed themselves bagging heroin and crack cocaine have been jailed following an investigation by Lancashire Police.